1   /*
2    * Copyright (c) 2004-2005, University Health Network.  All rights reserved. Distributed under the BSD 
3    * license (see http://opensource.org/licenses/bsd-license.php).
4    *  
5    * MockObjectTestCase.java
6    *
7    * Created on 18-Jan-2005 at 9:36:35 AM
8    */
9   package ca.uhn.cache.jmock;
10  
11  import org.jmock.core.InvocationMatcher;
12  
13  
14  /***
15   * Base class for all jmock test cases. 
16   * 
17   * @author <a href="mailto:alexei.guevara@uhn.on.ca">Alexei Guevara</a>
18   * @version $Revision: 1.1 $ updated on $Date: 2005/01/24 22:54:16 $ by $Author: bryan_tripp $
19   */
20  public abstract class MockObjectTestCase extends org.jmock.MockObjectTestCase {
21  
22      /***
23       */
24      public MockObjectTestCase() {
25          super();
26      }
27  
28      /***
29       * @param theName The test case case.
30       */
31      public MockObjectTestCase( String theName ) {
32          super( theName );
33      }
34  
35      protected InvocationMatcher count( int theExpectedInvocationCount ) {
36          return new InvokeNumberOfTimesInvocationHandler( theExpectedInvocationCount );
37      }
38  
39  }